package com.example.ymm.modules1.mapper.my.user;

import com.example.ymm.base.CoreMapper;
import com.example.ymm.modules1.entity.my.user.KqGroupRule;
import com.example.ymm.modules1.entity.my.user.KqRule;
import com.example.ymm.modules1.query.kq.KqGroupRuleQueryCriteria;
import com.example.ymm.modules1.service.dto.heng.kq.ViewGroupRule;
import com.example.ymm.modules1.service.dto.heng.kq.ViewKqRule;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface KqGroupRuleMapper extends CoreMapper<KqGroupRule> {


    List<ViewGroupRule> getGroupRuleList(KqGroupRuleQueryCriteria criteria);

    List<ViewKqRule> getRuleGroupList(KqGroupRuleQueryCriteria criteria);

}